package cn.zwx.order.query.svc;

import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.dromara.dynamictp.core.spring.EnableDynamicTp;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @author zhangwenxue
 */
@EnableDubbo
@EnableDynamicTp
@EnableDiscoveryClient
@SpringBootApplication
@EnableTransactionManagement
public class OrderQuerySvcApplication {

    public static final Logger logger = LoggerFactory.getLogger(OrderQuerySvcApplication.class);
    public static void main(String[] args) {
        SpringApplication.run(OrderQuerySvcApplication.class, args);
        logger.info("OrderQuerySvcApplication 启动成功 !!");
    }

}
